<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>五颜六色</title>
    <style>

        div{
           display: inline-block;
        }

        .aa{
            width: 100px;
            height: 100px;
            top: 174px;
            left: 53px;
            position: absolute;
            background-color: black;
        }

        .bb{
            width: 220px;
            height: 200px;
            top: 7px;
            left: 100px;
            position: absolute;
            background-color: cornflowerblue;
        }
        .cc{
            width: 200px;
            height: 200px;
            position: absolute;
            top: 205px;
            left: 128px;
            background-color:greenyellow;
        }

        .red{
            width: 500px;
            height: 200px;
            left: 200px;
            top: 130px;
            position: absolute;
            background-color:red;
        }

        .yellow{
            width: 100px;
            height:50px;
            top: 150px;
            left: 400px;
            position: relative;
            background-color:yellow;
        }

    </style>
</head>
<body>
    <div class="bb"></div>
    <div class="aa"></div>

    <div class="cc"></div>
    <div class="red">
        <div class="yellow"></div>
    </div>
</body>
</html>